@extends('master')

@section('修改密码', 'Page Title')

@section('sidebar')
	@parent
@endsection

@section('content')
	
	<div style="margin-top:50px" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
		<div class="panel panel-info">
			<div class="panel-heading">
				<div class="panel-title">修改密码</div>
			</div>
			<div class="panel-body" >
				<form method="POST" action="/auth/update"  class="form-horizontal" role="form">
					{!! csrf_field() !!}

					<div class="form-group">
						<label for="password" class="col-md-3 control-label">原密码</label>
						<div class="col-md-9">
							<input type="password" class="form-control" name="password" placeholder="原密码">
						</div>
					</div>
					<div class="form-group">
						<label for="password" class="col-md-3 control-label">新密码</label>
						<div class="col-md-9">
							<input type="password" class="form-control" name="password_confirmation" placeholder="新密码">
						</div>
					</div>
					<div class="form-group">
						<!-- Button -->
						<div class="col-md-offset-3 col-md-9">
							<button type="submit" id="btn-signup" class="btn btn-success"><i class="fa fa-hand-o-right"></i> 修改 </button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

@endsection